RmDir

Category: Files

Syntax:
RmDir directory

Deletes the named directory. If the directory cannot be deleted, an EInOutError exception will be raised.

Example:
RmDir $GetPath()Temp

Try
  @l $dirname = $?="Enter a directory name to delete:"
  RmDir $dirname
  MessageBox Successfully deleted.
Except
  MessageBox Unable to delete! $ExceptMsg
EndTry

See also: MkDir, RmFile


Next in "Files": RmFile
Previous in "Files": ReadLine
Next by name: RmFile
Previous by name: Restore
Up to all commands by name or commands and functions by category